<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<%-- 通用的导航 --%>
<nav class="navbar navbar-default">
	<div class="container-fluid">
	    <!-- Brand and toggle get grouped for better mobile display -->
	    <div class="navbar-header">
	        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
	            <span class="sr-only">Toggle navigation</span>
	            <span class="icon-bar"></span>
	            <span class="icon-bar"></span>
	            <span class="icon-bar"></span>
	        </button>
	        <h1  class="text-center">
	                      小贤哥666：代码自动生成管理系统首页
	        <small class="text-danger">mr-zeng: <strong>13258211007</strong></small>
	        </h1>
	    </div>
	
	    <!-- Collect the nav links, forms, and other content for toggling -->
	    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
	        <ul class="nav navbar-nav navbar-right">
	            <li><a href="#"><i class="glyphicon glyphicon-info-sign"></i> 帮助文档</a></li>
	            <li class="dropdown">
	                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
	                    <span class="glyphicon glyphicon-user"></span> ${principal.username } <span class="caret"></span>
	                </a>
	                <ul class="dropdown-menu">
	                    <li><a href="#">个人信息</a></li>
	                    <li><a href="#">修改密码</a></li>
	                    <li role="separator" class="divider"></li>
	                    <li><a href="login!logout.action">安全退出</a></li>
	                </ul>
	            </li>
	        </ul>
	        
	    </div><!-- /.navbar-collapse -->
	</div><!-- /.container-fluid -->
</nav>